Skip to content

Add more jsonschema pre-commit hooks#625

Merged
AlexWaygood merged 1 commit intomainfrom
more-jsonschema-hooks
Jul 7, 2025
Merged

Add more jsonschema pre-commit hooks#625
AlexWaygood merged 1 commit intomainfrom
more-jsonschema-hooks

Conversation

@AlexWaygood
Copy link
Member

check-readthedocs reports no errors but check-jsonschema complains:

Schema validation errors were encountered.
  .github/workflows/third_party.yml::$.jobs.skip-schedule-on-fork: {'name': 'Check for schedule trigger on fork', 'runs-on': 'ubuntu-latest', 'if': "github.repository == 'python/typing_extensions' || github.event_name != 'schedule'", 'steps': [{'run': True}]} is not valid under any of the given schemas
  Underlying errors caused this.

  Best Match:
    $.jobs.skip-schedule-on-fork: 'uses' is a required property
  Best Deep Match:
    $.jobs.skip-schedule-on-fork.steps[0].run: True is not of type 'string'

  1 other errors were produced. Use '--verbose' to see all errors.

@AlexWaygood AlexWaygood merged commit 01c0bfd into main Jul 7, 2025
72 checks passed
@AlexWaygood AlexWaygood deleted the more-jsonschema-hooks branch July 7, 2025 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants